From: Manuel Munz Date: Wed, 9 Jan 2013 18:39:29 +0000 (+0000) Subject: admin-full: Fix javascript error when no proto select box is shown, add hint to insta... X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=c46d1c22e92d5a76229eb0b3a60f9b7ddffd96c7;p=project%2Fluci.git admin-full: Fix javascript error when no proto select box is shown, add hint to install iputils-traceroute6 for ipv6 traceroutes --- diff --git a/modules/admin-full/luasrc/view/admin_network/diagnostics.htm b/modules/admin-full/luasrc/view/admin_network/diagnostics.htm index 48825629c9..5794a433ec 100644 --- a/modules/admin-full/luasrc/view/admin_network/diagnostics.htm +++ b/modules/admin-full/luasrc/view/admin_network/diagnostics.htm @@ -78,8 +78,10 @@ local has_traceroute6 = fs.access("/usr/bin/traceroute6") - <% end %> + <% else %> + + <% end %>
@@ -89,8 +91,14 @@ local has_traceroute6 = fs.access("/usr/bin/traceroute6") - <% end %> + <% else %> + + <% end %> + <% if not has_traceroute6 then %> +

 

+

<%:Install iputils-traceroute6 for IPv6 traceroute%>

+ <% end %>